package com.jyx.chain.web.face;

import com.jyx.chain.web.Filter;
import com.jyx.chain.web.filterchain.FilterChain;
import com.jyx.chain.web.request.Request;
import com.jyx.chain.web.response.Response;

public class FaceFilter implements Filter {

	@Override
	public void doFilter(Request req, Response res,FilterChain fc) {
		req.setRequestStr(req.getRequestStr().replace(":)", "^V^"));
		fc.doFilter(req, res,fc);
		res.setResponseStr(res.getResponseStr()+"===FaceFilter");
	}

}
